* {
  box-sizing: border-box;
}

*::selection {
  background-color: #000;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background-color: #615e5e;
  background-image: url("/d3 Visualization/img/bg.svg");
  transition: background-position 0.2s, background-color 0.2s;
}

body {
  font-family: "Poppins", "等线", sans-serif;
  color: #eee;
  display: flex;
  flex-direction: row;
  transition: background-position 0.2s, background-color 0.2s;
}

a {
  color: inherit;
  transition: all 0.12s;
  cursor: pointer;
  text-decoration: none;
}

a:hover,
.clickable:hover {
  opacity: 0.7;
}

p {
  margin: 10px 0;
}

.overlay {
  fill: none;
  pointer-events: all;
}

#maingroup path {
  stroke: white;
  stroke-opacity: 0.5;
}

#secondgroup path {
  stroke: white;
  stroke-opacity: 0.5;
}

/* svg {
    max-width: 100vw;
    max-height: 100vh;
} */

#secondgroup path {
  /* stroke: #181818; */
  stroke-opacity: 1;
  stroke-width: 0.8;
}

.notdisplay {
  display: none;
}

.charts svg {
  left: 0;
  right: 0;
  overflow: visible;
  position: absolute;
  align-self: center;
}

.svg1 {
  height: 100%;
}

#dateText {
  fill: #fff;
  font-size: 30px;
}

#secondgroup {
  width: 200;
  height: 200;
  transform: translate(1300px 400px);
}

.block {
  left: 0;
  right: 0;
  margin: 0 auto;
  position: absolute;
  align-self: center;
}

#slider-time .axis {
  display: none;
}

.slider text {
  display: none;
}

.slider {
  bottom: 15px;

  margin: 0;
  /* position: absolute; */
  align-self: center;
}

.container {
  flex: 1;
  /* margin: 0 auto; */
  position: relative;
  height: 100vh;
  max-width: 2000px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  pointer-events: none;
}

.parameter-value text {
  fill: white;
}

.upper-links {
  display: flex;
}

.upper-links * {
  margin-right: 7px;
}

.title {
  line-height: 0.9;
  font-size: 60px;
  margin-bottom: 0;
}

.title .light {
  width: 400px;
  /* Line Wrap */
  display: inline-block;
}

.light {
  font-weight: 300;
}

.title-s {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  text-transform: uppercase;
}

.cc-by-sa {
  height: 40px;
  margin-bottom: 10px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  height: 80vh;
}

.sidebar.left {
  align-items: flex-start;
  justify-content: space-between;
}

.sidebar.middle {
  align-items: center;
  justify-content: flex-start;
}

.focus {
  text-align: right;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.rate {
  font-size: 50px;
}

.desc {
  width: 130px;
}

.sidebar.right {
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
}

.methods {
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  font-size: 30px;
  line-height: 1.35;
  text-transform: uppercase;
}

a,
.clickable {
  pointer-events: all;
}

.scs-islands {
  opacity: 0.1;
  width: 100px;
}

.legend {
  margin-top: 60px;
}

.grad-bar {
  height: 5px;
  width: 180px;
  transition: all 0.2s;
}

.tooltip {
  position: absolute;
  text-align: center;
  width: 80px;
  height: 14px;
  padding: 2px;
  font: 12px sans-serif;
  background: #fff;
  border: 0px;
  pointer-events: none;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked+label {
  color: #eee;
}

input[type="radio"]+label:before {
  content: "▸";
  margin-right: 5px;
  display: inline-block;
  transform: scale(1.5);
}

@media screen and (max-width: 701px) {
  svg-frame {
    margin-top: 100px;
  }
}

@media screen and (max-height: 955px) {
  .title {
    font-size: 35px;
  }

  .title-s {
    font-size: 11px;
  }

  .rate {
    font-size: 30px;
  }

  .methods {
    font-size: 22px;
  }
}

/* body {
    background-color: #d3d3e2;
} */